#【狂风绝息斩】
#重置斩钢闪层数与被动剑意
scoreboard players set @s skPlayer -1
scoreboard players set @s skRunDistance 5000
#技能效果：5秒内下次攻击+3伤害
effect give @s strength 5 0 true
#优化：禁锢防摔伤优化
effect give @s slow_falling 3 0 true

execute if entity @a[tag=BossAlready] at @a[team=King,distance=0.1..15] rotated ~ 0 positioned ^ ^-1 ^1 run summon minecraft:armor_stand ~ ~ ~ {Tags:[yasuo1],Marker:1b,CustomNameVisible:0b,Invulnerable:1b,PersistenceRequired:1b,NoGravity:1b,OnGround:1b,Invisible:1,Small:1,NoBasePlate:1,Rotation:[0f]}
execute unless entity @a[tag=BossAlready] at @p[distance=0.1..15] rotated ~ 0 positioned ^ ^ ^-2 run summon minecraft:armor_stand ~ ~ ~ {Tags:[yasuo1],Marker:1b,CustomNameVisible:0b,Invulnerable:1b,PersistenceRequired:1b,NoGravity:1b,OnGround:1b,Invisible:1,Small:1,NoBasePlate:1,Rotation:[0f]}


execute at @e[type=armor_stand,tag=yasuo1,distance=0.1..15] run tp @s ~ ~ ~ facing entity @p[distance=0.1..5] feet

tellraw @a [{"selector":"@s","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"：释放技能","color":"blue","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"【狂风绝息斩】","color":"dark_red","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"—亚索","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
scoreboard players set @s skCDEXBottle 20
scoreboard players reset @s skEXBottle
